using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.ComponentModel;

namespace mdv.wssSchemaExplorer.WSS
{
    public class wssViewController : IController
    {
        public wssViewController(wssView view)
        {
            _view = view;
        }
        public override string ToString()
        {
            return _view.ToString();
        }
        #region IController Members
        private List<IController> _children = new List<IController>();
        [Browsable(false)]
        public List<IController> Children
        {
            get { return _children; }
        }
        private ContextMenu _actions = null;
        [Browsable(false)]
        public ContextMenu Actions
        {
            get { return _actions; }
        }
        private wssView _view = null;
        [Browsable(false)]
        public object Model
        {
            get { return _view; }
        }
        #endregion
    }
}